package com.wander.business.mongo;

import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @author Wander.Zeng
 * @create 2017-05-16 16:34
 * @desc UserRepository
 */
public interface UserRepository extends MongoRepository<User, Long> {

    User findByUsername(String username);

}
